home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 February / Gamestar_59_2004-02_dvd.iso / Dema / anito_demo.exe / {app} / data / cutscenes / agila / sleep.cs < prev    next >
Text File  |  2003-10-27  |  3KB  |  216 lines

  1.  0 0
  2.  1 0
  3.  0 0 0
  4.  
  5. 18
  6.  
  7.   1 1
  8.     1 -1 -1
  9.  
  10.   1 1
  11. "
  12. if (engine.game.player.position_x >= engine.game.sleepWPT.position_x)
  13. {
  14.   this.line0 = 'none';
  15.   this.target0 = 2;
  16. }
  17. if (engine.game.player.position_x < engine.game.sleepWPT.position_x)
  18. {
  19.   this.line0 = 'none';
  20.   this.target0 = 3;
  21. }
  22.   this.line1 = '';
  23. "
  24.     1 -1 -1
  25.  
  26.   1 15
  27. "
  28. this.camerafocus = 'player';
  29. this.line0 = '';
  30.  
  31. engine.game.player.behavior = 'follow';
  32. engine.game.player.follow_entity = 'sleepPT';
  33. engine.game.player.script = 1;
  34. "
  35.     5 -1 -1
  36.  
  37.   1 16
  38. "
  39. this.camerafocus = 'player';
  40. this.line0 = '';
  41.  
  42. engine.game.player.behavior = 'follow';
  43. engine.game.player.follow_entity = 'sleepWPT';
  44. engine.game.player.script = 1;
  45. "
  46.     1 -1 -1
  47.  
  48.   1 17
  49. "
  50. this.camerafocus = 'player';
  51. this.line0 = '';
  52.  
  53. engine.game.player.rotate_direction = 5;
  54. engine.game.player.script = '1';
  55. "
  56.     10 -1 -1
  57.  
  58.   1 7
  59. "
  60. this.camerafocus = 'player';
  61. this.line0 = '';
  62.  
  63. engine.game.player.next_state = 'asleep';
  64. engine.game.player.script = '1';
  65.  
  66. "
  67.     30 -1 -1
  68.  
  69.   1 0
  70. "
  71. this.camerafocus = 'player';
  72. this.line0 = '';
  73.  
  74. engine.game.player.next_state = 'normal';
  75. engine.game.player.script = 1;
  76.  
  77. "
  78.     30 -1 -1
  79.  
  80.   1 8
  81. "
  82. this.camerafocus = 'player';
  83. this.line0 = '';
  84.  
  85. FadeOut();
  86. "
  87.     100 -1 -1
  88.  
  89.   1 6
  90. "
  91. this.camerafocus = 'player';
  92. this.line0 = '';
  93.  
  94. Rest(540);
  95. FadeIn();
  96. "
  97.     100 -1 -1
  98.  
  99.   1 10
  100. "
  101. this.camerafocus = 'player';
  102. this.line0 = '';
  103.  
  104. engine.game.player.next_state = 'asleep';
  105. engine.game.player.script = '1';
  106.  
  107. "
  108.     30 -1 -1
  109.  
  110.   1 11
  111. "
  112. this.camerafocus = 'player';
  113. this.line0 = '';
  114.  
  115. FadeOut();
  116. "
  117.     100 -1 -1
  118.  
  119.   1 6
  120. "
  121. this.camerafocus = 'player';
  122. this.line0 = '';
  123.  
  124. FadeIn();
  125. Rest(60);
  126. "
  127.     100 -1 -1
  128.  
  129.   1 13
  130. "
  131. this.camerafocus = 'player';
  132. this.line0 = '';
  133.  
  134. engine.game.player.next_state = 'asleep';
  135. engine.game.player.script = '1';
  136.  
  137. "
  138.     30 -1 -1
  139.  
  140.   1 14
  141. "
  142. this.camerafocus = 'player';
  143. this.line0 = '';
  144.  
  145. FadeOut();
  146. "
  147.     100 -1 -1
  148.  
  149.   1 6
  150. "
  151. this.camerafocus = 'player';
  152. this.line0 = '';
  153.  
  154. Rest(300);
  155. FadeIn();
  156. "
  157.     100 -1 -1
  158.  
  159.   1 15
  160. "
  161.  
  162. this.camerafocus = 'player';
  163. this.voicefocus = 'player';
  164. i = 0;
  165. if (engine.game.player.script == 0)
  166. {
  167.     this.line[i] = 'none';
  168.     this.target[i] = '4';
  169.     i++;
  170. }
  171. this.line[i] = '';
  172. "
  173.     1 -1 -1
  174.  
  175.   1 16
  176. "
  177.  
  178. this.camerafocus = 'player';
  179. this.voicefocus = 'player';
  180. i = 0;
  181. if (engine.game.player.script == 0)
  182. {
  183.     this.line[i] = 'none';
  184.     this.target[i] = '2';
  185.     i++;
  186. }
  187. this.line[i] = '';
  188. "
  189.     1 -1 -1
  190.  
  191.   1 17
  192. "
  193.  
  194. this.camerafocus = 'player';
  195. this.voicefocus = 'player';
  196. i = 0;
  197. this.line[i] = 'Sleep (9 hours)';
  198. this.target[i] = '5';
  199. i++;
  200. this.line[i] = 'Sleep (5 hours)';
  201. this.target[i] = '12';
  202. i++;
  203. this.line[i] = 'Take a Nap (1 hour)';
  204. this.target[i] = '9';
  205. i++;
  206. this.line[i] = 'Maybe Later';
  207. this.target[i] = '0';
  208. i++;
  209. this.line[i] = '';
  210. "
  211.     1 -1 -1
  212.  
  213.  
  214. 0 0 0 0
  215. 0
  216.